]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dialog: Update the layout of dialogs according to the new design
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 13 Jan 2020 14:13:53 +0000 (15:13 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 14 Jan 2020 23:18:30 +0000 (00:18 +0100)
According to the new dialog mockups, update the dialogs paddings and
spacings. Also change the font-weigth of the title to 800 and the
font-size to 18pt, this will make the headings of some dialogs ellipsize
because they contain too much text, we'll have to fix this in subsequent
commits.

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

data/theme/gnome-shell-sass/widgets/_dialogs.scss

index 8ccd9a01fde9d8e89647f1ef3f240362d69fa2a4..18969a96ab9e3763fa56b2c80b843c9f5a33c31b 100644 (file)
 
 /* Message Dialog */
 .message-dialog-content {
-  max-width: 28em;
-  spacing: 20px;
-}
-
-.message-dialog-title {
-  font-weight: bold;
-}
+  spacing: 18px;
 
-.message-dialog-description {
-  color: $fg_color;
-  font-weight: bold;
+  .message-dialog-title {
+    text-align: center;
+    font-size: 18pt;
+    font-weight: 800;
+  }
+  .message-dialog-description { text-align: center; }
 }
 
 /* ShellMountOperation Dialogs */